cat a.mm |sed 's/ASH ProxySG 810/ASH810/g' |sed 's/CTC SG[58]10/CTCSG/g' >a.1mm
cat a.1mm | grep -i "ctc\|chn" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("CTC: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "pol" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("POL: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "lon" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("LON: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "arg" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("ARG: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "ash" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("ASH: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "brz" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("BRZ: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "par" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("PAR: %.2fms  average of %d device\n",rep/c,c) }' 
cat a.1mm | grep -i "rom" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("ROM: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "saf" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("SAF: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "sin" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("SIN: %.2fms  average of %d device\n",rep/c,c) }'
cat a.1mm | grep -i "syd" | grep -v BJ | awk 'BEGIN {c=0;rep=0} {c++;rep=rep+$3} END { printf("SYD: %.2fms  average of %d device\n",rep/c,c) }'
